/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package modele;

/**
 *
 * @author Val
 */
public class Semaine {
    private String debut;
    private String fin;

    public Semaine(){
    }

    public Semaine(String debut, String fin) {
        this.debut = debut;
        this.fin = fin;
    }

    public String getDebut() {
        return debut;
    }

    public void setDebut(String debut) {
        this.debut = debut;
    }

    public String getFin() {
        return fin;
    }

    public void setFin(String fin) {
        this.fin = fin;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Semaine other = (Semaine) obj;
        if ((this.debut == null) ? (other.debut != null) : !this.debut.equals(other.debut)) {
            return false;
        }
        if ((this.fin == null) ? (other.fin != null) : !this.fin.equals(other.fin)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 79 * hash + (this.debut != null ? this.debut.hashCode() : 0);
        hash = 79 * hash + (this.fin != null ? this.fin.hashCode() : 0);
        return hash;
    }

    
}
